package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "device_attribute_t", schema = "dev", catalog = "")
public class DeviceAttribute {

    @Id
    private Integer deviceAttributeId;

    private Integer deviceId;

    private int  deviceAttributeType;

    private String  deviceAttributeNameEn;

    private String deviceAttributeNameCn;

    private String deviceAttributeValue;

    private String deviceAttributeUnit;

    private Integer deviceTypeAttributeId;

    private Timestamp createTime;

    private Integer Switch;

}
